$(function () {
    $("#nextPage").click(
        function(){
            var nextPage=true;
            if(!/^[0-9]{6}$/.test($("#Mpassword").val().trim())){
                $.toast("资金密码未正确","text");
                nextPage=false;
                return;
            }
            if(nextPage){
                $(window).attr("location","./confirmMpwd.html?mpd="+$("#Mpassword").val().trim());
            }
        }
    );
})